<template>
  <div class="table">
    <div class="table-header">
      <p class="th-font"><b>待办工作</b></p>
    </div>
    <el-table :data="tableData" border class="lefttop_table" height="357">
      <el-table-column prop="date" label="日期" width="100"> </el-table-column>
      <el-table-column prop="department" label="部门" width="80">
      </el-table-column>
      <el-table-column prop="todo" label="待办事项"> </el-table-column>
      <el-table-column prop="by_time" label="截止时间" width="100">
      </el-table-column>
      <el-table-column prop="head" label="负责人" width="80"> </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        },
        {
          date: "2019-12-12",
          department: "xx部",
          todo: "与农大对接大棚详细数据",
          by_time: "2019-12-17",
          head: "王红"
        }
      ]
    };
  }
};
</script>
